package com.crl.module.live.events
{
	import flash.events.Event;
	
	public class NetStreamEvent extends Event
	{		
		public var data:Object;
		
		/**
		 * 元数据发布.(当把数据写在流上时，订阅者将会触发) 
		 */		
		public static const ONMETADATA:String="onMetaData";
		
		public function NetStreamEvent(type:String,data:Object=null, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type,bubbles, cancelable);
			this.data=data;
		}
		
		public override function clone():Event{
			return new NetStreamEvent(type,data,bubbles,cancelable);
		}

	}
}